package com.bitcola.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 用户钱包
 * 
 * @author Mr.AG
 * @email 463540703@qq.com
 * @date 2018-08-01 09:03:16
 */
@Table(name = "ag_admin_v1.cola_me_balance")
@Data
public class ColaMeBalance implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private String id;
	
	    //用户 ID
    @Column(name = "user_id")
    private String userId;
	
	    //币种
    @Column(name = "coin_code")
    private String coinCode;
	
	    //可用金额
    @Column(name = "balance_available")
    private BigDecimal balanceAvailable;
	
	    //冻结金额
    @Column(name = "balance_frozen")
    private BigDecimal balanceFrozen;
	
	    //充值地址
    @Column(name = "address_in")
    private String addressIn;
	
	    //备注（用于充值）
    @Column(name = "note")
    private String note;
	//奖励金未解冻
	@Column(name = "prize_balance_frozen")
	private BigDecimal prizeBalanceFrozen;
	//奖励金已解冻
	@Column(name = "prize_balance_released")
	private BigDecimal prizeBalanceReleased;


	@Column(name = "apply_amount")
	private BigDecimal applyAmount;

	@Column(name="allow_sell")
	private BigDecimal allowSell;



}
